package com.fjwt.gz.proxy.secruity;

import lombok.Getter;
import org.springframework.security.authentication.UsernamePasswordAuthenticationToken;

@Getter
public class AgentAwareAuthenticationToken extends UsernamePasswordAuthenticationToken {

    private final String agentNo;

    public AgentAwareAuthenticationToken(String agentNo, Object principal, Object credentials) {
        super(principal, credentials);
        this.agentNo = agentNo;
    }

}
